<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script lang="javascript">
    var numbers = [5,6,2,3,7];
    console.log(this,Math.max(numbers),this.numbers);

  // function fn(...args){
  //     console.log(this,args);
  // }
  // let obj = {
  //     myname:"张三"
  // }

  // fn.call(obj,1,2); // this会变成传入的obj，传入的参数必须是一个数组；
  // fn(1,2) // this指向window
  </script>

</body>
</html>